import request from '@/router/axios';

export const setUserConfig = (data) => {
  return request({
    url: '/api/mes-admin/myview/save-or-update',
    method: 'post',
    data
  });
};

export const getUserConfig = (params) => {
  return request({
    url: '/api/mes-admin/myview/find-user-view',
    method: 'get',
    params
  });
};
